package com.example.module_home.dagger

import android.util.Log
import javax.inject.Inject

class DaggerLoginViewModel @Inject constructor(val repository: LoginRepository) {

    private val TAG: String = DaggerLoginViewModel::class.simpleName.toString()

    fun fetchData() {
        repository.remoteDataSource.fetchRemoteData()
        Log.e(TAG, "==dager依赖注入生效了")
    }

}